//
//  HTLCDisgistLiceListCell.swift
//  HIextractLicve
//
//  Created by HIextractLicve on 2024/12/5.
//

import UIKit

class HTLCDisgistLiceListCell: UICollectionViewCell {

    @IBOutlet weak var htlSeeCountlfbl: UILabel!
    
    
    @IBOutlet weak var htlLiveIconlfbl: UILabel!
    
    
    @IBOutlet weak var liveCVoverHTL: UIImageView!
    
    @IBOutlet weak var livetitkleHTL: UILabel!
    
    var eachVioViewHTLC:THLCNOrBUTTOn?
    var mindfulnessPageHTL:THLCNPageControll?
    var journeyHTLC:UIView?
    
    
    @IBOutlet weak var userHeaderHTL: UIImageView!
    
    @IBOutlet weak var usernamhrHTl: UILabel!
    
    @IBOutlet weak var userfolloewrCoutHTL: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.layer.cornerRadius = 20
        self.layer.masksToBounds = true
        if contentView.isHidden == true {
            journeyHTLC?.alpha = 1
            journeyHTLC?.layer.cornerRadius = 12
        }
        journeyHTLC?.backgroundColor = UIColor(red: 0.06, green: 0.07, blue: 0.07, alpha: 0.01)

        eachVioViewHTLC = THLCNOrBUTTOn.init()
        eachVioViewHTLC?.setTitle("anchors", for: .normal)
        if journeyHTLC != nil {
            journeyHTLC?.addSubview(eachVioViewHTLC ?? THLCNOrBUTTOn.init())
            contentView.addSubview(journeyHTLC!)
        }

        mindfulnessPageHTL = THLCNPageControll()
        mindfulnessPageHTL?.numberOfPages = 1
        mindfulnessPageHTL?.backgroundColor = UIColor(red: 0.06, green: 0.07, blue: 0.07, alpha: 0.01)
        mindfulnessPageHTL?.tintColor = UIColor(red: 0.06, green: 0.07, blue: 0.07, alpha: 0.01)
        mindfulnessPageHTL?.sizeToFit()

        if journeyHTLC != nil {
            journeyHTLC?.addSubview(mindfulnessPageHTL ?? THLCNPageControll.init())
           
        }

        htlLiveIconlfbl.layer.cornerRadius = 10
        htlLiveIconlfbl.layer.masksToBounds = true
        
        userHeaderHTL.layer.cornerRadius = 16
        userHeaderHTL.layer.masksToBounds = true
        
    }

}
